import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/device_detection_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/device_detection_entity.g.dart';

///设备检测
@JsonSerializable()
class DeviceDetectionEntity {
  DeviceDetectionEntity();

  factory DeviceDetectionEntity.fromJson(Map<String, dynamic> json) => $DeviceDetectionEntityFromJson(json);

  ///创建人
  String? createBy = '';

  ///	创建人id
  String? createById = '';

  ///	创建日期
  String? createDate = '';

  ///
  String? deleted = '';

  ///	检测人
  String? detectionPerson = '';

  ///	检测时间
  String? detectionTime = '';

  ///	设备id
  String? deviceId = '';

  ///	上传文件（支持上传多个）
  String? filePath = '';

  ///	文件列表(展示)
  List<String>? filePathList	 = [];

  ///	ID
  String? id = '';

  ///	备注
  String? notes = '';

  ///	最后更新人
  String? updateBy = '';

  ///	最后更新人id
  String? updateById = '';

  ///	最后更新时间
  String? updateDate = '';

  Map<String, dynamic> toJson() => $DeviceDetectionEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
